package repository.implementation;

import java.util.LinkedList;
import java.util.List;

import org.jooq.util.maven.example.tables.*;

public class RecipeModel
{
	/*private List<Ingredients> ingredients;
	private List<RecIng> recipeToIngredients;
	private Recipes recipes;

	public RecipeModel()
	{
		ingredients = new LinkedList<Ingredients>();
		recipeToIngredients = new LinkedList<RecIng>();
		recipes = new Recipes();
	}

	public Recipes getRecipes()
	{
		return recipes;
	}

	public void setRecipes(Recipes recipes)
	{
		this.recipes = recipes;
	}

	public void pushIngredients(Ingredients i)
	{
		ingredients.add(i);
	}

	public Ingredients popIngredients()
	{
		return ingredients.isEmpty() ? null : ingredients.get(0);
	}

	public void pushRecipeToIngredients(RecIng i)
	{
		recipeToIngredients.add(i);
	}

	public RecIng popRecipeToIngredients()
	{
		return recipeToIngredients.isEmpty() ? null : recipeToIngredients
				.get(0);
	}*/
	
	public List<String> ingredientName = new LinkedList<String>();
	public List<String> ingredientMetric = new LinkedList<String>();
	public List<Double> ingredientQuantity = new LinkedList<Double>();;
	public String recipeName = "";
	public String recipeUrl = "";
	public String recipePicUrl = "";
	public String recipeContent = "";
	public int recipeTime = 0;
}
